﻿@using Atomic.Mvc;
@using Atomic.Core.Security;

@model UserDescriptor
@{
    ViewBag.Title = "用户信息";
}

<link rel="stylesheet" href="/@Html.GetCorePluginPath("Atomic.Users")/Themes/Default/Content/Css/index.css" type="text/css" />

<h2>用户信息</h2>

<table>
    <tr>
        <td>编号：</td>
        <td>@Model.Id</td>
    </tr>
    <tr>
        <td>名称：</td>
        <td>@Model.Name</td>
    </tr>
    <tr>
        <td>邮箱：</td>
        <td>@Model.Email</td>
    </tr>
    <tr>
        <td>头像：</td>
        <td><img src="@Model.GetIcon(IconSize.Big)" /></td>
    </tr>
    <tr>
        <td>生日：</td>
        <td>@Model.Birthday.ToString("yyyy-MM-dd")</td>
    </tr>
    <tr>
        <td>性别：</td>
        <td>@Model.GetSex()</td>
    </tr>
    <tr>
        <td>注册时间：</td>
        <td>@Model.RegisterTime.ToString("yyyy-MM-dd HH:mm:ss")</td>
    </tr>
    <tr>
        <td>简介：</td>
        <td>@Model.Description</td>
    </tr>
</table>